home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1999 February
/
EnigmA AMIGA RUN 34 (1999)(G.R. Edizioni)(IT)[!][issue 1999-02].iso
/
earcd
/
devel
/
libx11
/
include
/
x11
/
xaw
/
viewport.h
< prev
next >
Wrap
C/C++ Source or Header
|
1999-01-01
|
3KB
|
102 lines
/* $XConsortium: Viewport.h,v 1.21 91/07/22 19:05:23 converse Exp $ */
/************************************************************
Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts,
and the Massachusetts Institute of Technology, Cambridge, Massachusetts.
All Rights Reserved
Permission to use, copy, modify, and distribute this software and its
documentation for any purpose and without fee is hereby granted,
provided that the above copyright notice appear in all copies and that
both that copyright notice and this permission notice appear in
supporting documentation, and that the names of Digital or MIT not be
used in advertising or publicity pertaining to distribution of the
software without specific, written prior permission.
DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
********************************************************/
#ifndef _XawViewport_h
#define _XawViewport_h
#include <X11/Xaw/Form.h>
#include <X11/Xaw/Reports.h>
#include <X11/Xfuncproto.h>
/* Resources:
Name Class RepType Default Value
---- ----- ------- -------------
allowHoriz Boolean Boolean False
allowVert Boolean Boolean False
background Background Pixel XtDefaultBackground
border BorderColor Pixel XtDefaultForeground
borderWidth BorderWidth Dimension 1
destroyCallback Callback Pointer NULL
foreceBars Boolean Boolean False
height Height Dimension 0
mappedWhenManaged MappedWhenManaged Boolean True
reportCallback ReportCallback Pointer NULL
sensitive Sensitive Boolean True
useBottom Boolean Boolean False
useRight Boolean Boolean False
width Width Dimension 0
x Position Position 0
y Position Position 0
*/
/* fields added to Form */
#ifndef _XtStringDefs_h_
#define XtNforceBars "forceBars"
#define XtNallowHoriz "allowHoriz"
#define XtNallowVert "allowVert"
#define XtNuseBottom "useBottom"
#define XtNuseRight "useRight"
#endif
extern WidgetClass viewportWidgetClass;
typedef struct _ViewportClassRec *ViewportWidgetClass;
typedef struct _ViewportRec *ViewportWidget;
_XFUNCPROTOBEGIN
extern void XawViewportSetLocation (
#if NeedFunctionPrototypes
Widget /* gw */,
#if NeedWidePrototypes
/* float */ double /* xoff */,
/* float */ double /* yoff */
#else
float /* xoff */,
float /* yoff */
#endif
#endif
);
extern void XawViewportSetCoordinates (
#if NeedFunctionPrototypes
Widget /* gw */,
#if NeedWidePrototypes
/* Position */ int /* x */,
/* Position */ int /* y */
#else
Position /* x */,
Position /* y */
#endif
#endif
);
_XFUNCPROTOEND
#endif /* _XawViewport_h */